using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ActiveDo : MonoBehaviour
{
    [SerializeField] GameObject[] targetObjects;
    public void Active()
    {
        foreach (var item in targetObjects)
        {
            item.SetActive(true);
        }
    }
    
    public void ToggleDo(bool active)
    {
        foreach (var item in targetObjects)
        {
            item.SetActive(active);
        }
    }
}
